﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.Designer.Event.NCL
{
    /// <summary>
    /// 更新数据集
    /// </summary>
    public class EndUpdateDataSetEvent : NCLEvent
    {
        public Guid DataSourceId { get; set; }

        public CPPEI.Coolzon.ServiceProxy.DesignServiceRef.DataSet DataSet { get; set; }
        public CPPEI.Coolzon.ServiceProxy.DesignServiceRef.DataParameter[] Parameters { get; set; }

        public EndUpdateDataSetEvent(NCLEventState state,
            Guid dataSourceId,
            CPPEI.Coolzon.ServiceProxy.DesignServiceRef.DataSet dataSet,
            CPPEI.Coolzon.ServiceProxy.DesignServiceRef.DataParameter[] parameters)
            : base(state)
        {
            this.DataSourceId = dataSourceId;
            this.DataSet = dataSet;
            this.Parameters = parameters;
        }
    }
}
